﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using Tb.App.Domain;
using Tb.App.Domain.Rabbit.Basic;
using Tb.App.Domain.Rabbit.Cultivation;
using Tb.App.Domain.Rabbit.DeepProcessing;
using Tb.App.Domain.Rabbit.Slaughter;

namespace Tb.App.Infrastructure
{
    public class ConDbContext : DbContext
    {
        public ConDbContext(DbContextOptions options) : base(options)
        {
        }

        //基本信息
        public DbSet<BasicModel> BasicModels { get; set; }
        //商品名称
        public DbSet<StoreModel> StoreModels { get; set; }

        //============养殖信息==================
        //养殖信息
        public DbSet<CultivationModel> CultivationModels { get; set; }
        //养殖免疫信息
        public DbSet<ImmunityModel> ImmunityModels { get; set; }
        //养殖企业信息
        public DbSet<CultivationCommpanyModel> CultivationCommpanyModels { get; set; }
        //================图片信息(多图片)======================
        public DbSet<Images> Images { get; set; }

        //============屠宰信息==================
        //屠宰信息
        public DbSet<SlaughterModel> SlaughterModels { get; set; }
        //屠宰企业信息
        public DbSet<SlaughterCommpany> SlaughterCommpanies { get; set; }

        //============深加工信息==================
        //深加工信息
        public DbSet<DeepProcessingModel> DeepProcessingModels { get; set; }
        //深加工企业信息
        public DbSet<DeepProcessingCompany> DeepProcessingCompanies { get; set; }

    }
}
